package com.example.blog.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

/**
 * @author Admin
 */
@Data
@ApiModel("查询聊天用户出参")
public class QueryMemberResDto {

    @ApiModelProperty("直播间id")
    private String roomId;

    @ApiModelProperty("用户id")
    private String numberId;

    @ApiModelProperty("用户名称")
    private String numberName;

    @ApiModelProperty("是否禁言 默认0 1禁言 0非禁言")
    private Integer isMuted;

    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

}
